<?php
header("content-type:text/html;charset=utf-8");
$arrBase=scandir("../../../www");
$a=array_search(".", $arrBase);
$b=array_search('..', $arrBase);
unset($arrBase[$a]);
unset($arrBase[$b]);
unset($arrBase[2]);
unset($arrBase[3]);
unset($arrBase[4]);
unset($arrBase[5]);
unset($arrBase[6]);
$dir=$_POST['dir'];
$daya=date("Y-m-d",time());
$day1=$_POST['daya'];
$arr=file("E:get_info/".$day1."/".$dir.".txt");
echo $day1."：".$dir;
echo "<pre>";
print_r($arr);
echo "</pre>";
echo $day1."：".$dir;
?>
<html>
	<head>
		<title>see_all</title>
	</head>
	<body>
		<div style="width: 60%; margin: 50px auto;">
		<form action="#" method="post">
<?php
	foreach($arrBase as $v){		
			echo $v.' <input type="radio" name="dir" value="'.$v.'" /><br />';
	}
?>				
			选择时间：<input type="text" name="daya" value="<?php echo $daya;?>" /><br />
			<input type="submit" value="提交"/>
		</form>
		</div>
	</body>
</html>